//
//  ICMSelecteStepInTimeCell.h
//  ICrEAM
//
//  Created by rainimute on 16/11/3.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ICMSelecteStepInTimeCellDelegate <NSObject>

@optional
- (void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath andButtonIndex:(NSInteger)buttonIndex;

@end

@interface ICMSelecteStepInTimeCell : UITableViewCell

@property (nonatomic, weak) id<ICMSelecteStepInTimeCellDelegate>delegate;

//三种state:0--白色可选，1--灰色不可选，2--绿色本次已选
- (void)setupSelecteStepInTimeCellWithDidSelectedTimes:(NSArray*)didSelectedTimes andCurrentSelectedTimes:(NSMutableArray*)currentSelectedTimes andOnlineSource:(NSMutableArray*)onlineSourceTimes andItemWidth:(float)itemWidth;

@end
